package json;

import javax.json.bind.annotation.JsonbProperty;

public class user {
    @JsonbProperty("error")
    private int error;
    @JsonbProperty("message")
    private String message;
    @JsonbProperty("openid")
    private String openid;
    @JsonbProperty("access_token")
    private String access_token;
    public user()
    {

    }
    public user(int error,String message,String openid,String access_token)
    {
        this.error=error;
        this.message=message;
        this.openid=openid;
        this.access_token=access_token;
    }

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }
}
